package com.zhuliwei.cloud;

import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 启动类
 *
 * @author 朱力维
 * @time 2024/12/16 11:17
 **/
@EnableDiscoveryClient //启动consul服务发现
@RefreshScope //启动consul全局配置动态刷新
@SpringBootApplication
@MapperScan("com.zhuliwei.cloud.mapper") //import tk.mybatis.spring.annotation.MapperScan;
public class PayApplication8002
{
    public static void main(String[] args)
    {
        SpringApplication.run(PayApplication8002.class,args);
    }
}